<script setup>
  import { onLaunch } from '@dcloudio/uni-app'
  onLaunch(() => {
    if(!uni.getStorageSync('menuButtonInfo')) {
      const menuButtonInfo = uni.getMenuButtonBoundingClientRect()
      uni.setStorageSync('menuButtonInfo', menuButtonInfo)
    }
    if(!uni.getStorageSync('windowInfo')) {
      const windowInfo = uni.getWindowInfo()
      uni.setStorageSync('windowInfo', windowInfo)
    }
    wx.cloud.init({
      env: '', // 微信云开发环境
      traceUser: true
    })
  })
</script>

<style>
	/*每个页面公共css */
</style>
